projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c462e
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Sun, 1 Feb 2026 09:59:08 +0000
(10:59 +0100)
committer
Matthias Klose
<doko@debian.org>
Sun, 1 Feb 2026 09:59:08 +0000
(10:59 +0100)
Gbp-Pq: Name mips-hack.diff
gas/config/tc-mips.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-mips.c
b/gas/config/tc-mips.c
index 4440fb7cafbf218540814ddab5c7964297c2260c..38e727ee055460f9294edab4fdc782e2ccf2c46a 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-17075,6
+17075,9
@@
parse_code_option (char * name)
else
return OPTION_TYPE_BAD;
+ if (mips_opts.isa == ISA_MIPS1 && mips_opts.fp == 0)
+ mips_opts.isa = ISA_MIPS2;
+
return isa_set ? OPTION_TYPE_ISA : OPTION_TYPE_NORMAL;
}